package com.dimples.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@ApiModel(value="com-dimples-system-entity-PersistentLogins")
@Data
@TableName(value = "persistent_logins")
public class SysPersistentLogins {
    @TableId(value = "series", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private String series;

    @TableField(value = "username")
    @ApiModelProperty(value="")
    private String username;

    @TableField(value = "token")
    @ApiModelProperty(value="")
    private String token;

    @TableField(value = "last_used")
    @ApiModelProperty(value="")
    private Date lastUsed;
}